const path = require('path')
const cracoLessPlugin = require('craco-less')

const pathResolve = (pathname) => path.resolve(__dirname, pathname)
module.exports = {
  plugins: [
    {
      plugin: cracoLessPlugin
    }
  ],
  webpack: {
    alias: {
      '@': pathResolve('src'),
      components: pathResolve('src/components'),
      utils: pathResolve('src/utils')
    }
  }
}
